package com.krtech.wecard.module.ramble.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 漫步日志
 */
@ApiModel(value = "com-krtech-wecard-module-ramble-entity-RambleLoginLog")
@Data
@TableName(value = "xiaoran_ramble_login_log")
public class RambleLoginLog implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /**
     * 记录日期
     */
    @TableField(value = "rigister_date")
    @ApiModelProperty(value = "记录日期")
    private Date rigisterDate;

    /**
     * 记录人openId 用这个做唯一识别
     */
    @TableField(value = "open_id")
    @ApiModelProperty(value = "记录人openId 用这个做唯一识别")
    private String openId;

    /**
     * 记录人昵称
     */
    @TableField(value = "nick_name")
    @ApiModelProperty(value = "记录人昵称")
    private String nickName;

    /**
     * 记录人手机号
     */
    @TableField(value = "phone")
    @ApiModelProperty(value = "记录人手机号")
    private String phone;

    /**
     * 步数
     */
    @TableField(value = "step_number")
    @ApiModelProperty(value = "步数 (前端传递)")
    private Integer stepNumber;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_RIGISTER_DATE = "rigister_date";

    public static final String COL_OPEN_ID = "open_id";

    public static final String COL_NICK_NAME = "nick_name";

    public static final String COL_PHONE = "phone";

    public static final String COL_STEP_NUMBER = "step_number";
}